﻿using System;
using System.Runtime.InteropServices;

namespace KinConquer.Packets.Structures
{
    [StructLayout(LayoutKind.Sequential, Size = 24)]
    public unsafe struct MovementPacket
    {
        public ushort Size;
        public ushort Type;
        public int Direction;
        public uint Identifier;
        public int MoveType;
        public KinSocket.Native.TIME TimeStamp;
        public uint Map;

        public static MovementPacket Create()
        {
            MovementPacket retn = new MovementPacket();
            retn.Size = 24;
            retn.Type = 10005;
            return retn;
        }
    }
}
